-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed CalibTracker/SiStripCommon dependency from CalibFormats/SiStripObjects #33888
Removed CalibTracker/SiStripCommon dependency from CalibFormats/SiStripObjects #33888
Conversation
The information needed is now in SiStripDetInfo. It is up to the code that constructs a SiStripQuality to get access to a SiStripDetInfo.
This allows dropping dependency on CalibTracker/SiStripCommon.
@davidlange6 this should help with the ROOT modules build. |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33888/22931
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33888/22936
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages: CalibFormats/SiStripObjects @perrotta, @malbouis, @andrius-k, @yuanchao, @kmaeshima, @tlampen, @ErnestaP, @ahmad3213, @cmsbuild, @jpata, @jfernan2, @slava77, @ggovi, @pohsun, @rvenditti, @francescobrivio can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
-1 Failed Tests: Build ClangBuild BuildI found compilation error when building: >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-28-2300/src/CalibTracker/SiStripESProducers/plugins/fake/Phase2TrackerCablingCfgESSource.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-28-2300/src/CalibTracker/SiStripESProducers/plugins/fake/SiStripApvGainFakeESSource.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-28-2300/src/CalibTracker/SiStripESProducers/plugins/fake/SiStripBackPlaneCorrectionFakeESSource.cc In file included from /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw/CMSSW_12_0_X_2021-05-28-2300/src/Geometry/TrackerNumberingBuilder/interface/utils.h:4, from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-28-2300/src/CalibTracker/SiStripESProducers/plugins/fake/SiStripBackPlaneCorrectionFakeESSource.cc:26: /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw/CMSSW_12_0_X_2021-05-28-2300/src/Geometry/TrackerNumberingBuilder/interface/GeometricDet.h:12:10: fatal error: DD4hep/Shapes.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-28-2300/src/CalibTracker/SiStripESProducers/plugins/fake/SiStripBadModuleConfigurableFakeESSource.cc gmake: *** [tmp/slc7_amd64_gcc900/src/CalibTracker/SiStripESProducers/plugins/CalibTrackerSiStripFakeESProducersPlugins/fake/SiStripBackPlaneCorrectionFakeESSource.cc.o] Error 1 Clang BuildI found compilation error while trying to compile with clang. Command used:
>> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-28-2300/src/CalibTracker/SiStripESProducers/plugins/fake/SiStripPedestalsFakeESSource.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-28-2300/src/CalibTracker/SiStripESProducers/plugins/fake/SiStripQualityFakeESSource.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-28-2300/src/CalibTracker/SiStripESProducers/plugins/fake/SiStripThresholdFakeESSource.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-28-2300/src/CalibTracker/SiStripESProducers/plugins/fake/modules.cc In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-28-2300/src/CalibTracker/SiStripESProducers/plugins/fake/SiStripHashedDetIdFakeESSource.cc:6: /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw/CMSSW_12_0_X_2021-05-28-2300/src/Geometry/TrackerNumberingBuilder/interface/GeometricDet.h:12:10: fatal error: 'DD4hep/Shapes.h' file not found #include ^~~~~~~~~~~~~~~~~ In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-05-28-2300/src/CalibTracker/SiStripESProducers/plugins/fake/SiStripLorentzAngleFakeESSource.cc:36: /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw/CMSSW_12_0_X_2021-05-28-2300/src/Geometry/TrackerNumberingBuilder/interface/GeometricDet.h:12:10: fatal error: 'DD4hep/Shapes.h' file not found #include |
@smuzaffar why did the I figured it out. I removed a |
+1 |
@@ -8,6 +8,7 @@ | |||
<use name="CondFormats/SiStripObjects"/> | |||
<use name="CalibFormats/SiStripObjects"/> | |||
<use name="CalibTracker/Records"/> | |||
<use name="Geometry/TrackerGeometryBuilder"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nevermind, I removed the comment; there's no problem here
+1 |
+1
|
kindly ping @cms-sw/db-l2 |
Ping @cms-sw/db-l2 |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
CalibFormat objects should not be reading files to get intermediate data as this violates one of the guiding principles of CMSSW. This change moves the needed information into a separate class, SiStripDetInfo and requires code that constructs a SiStripQuality or a SiStripGain to pass in the appropriate SiStripDetInfo.
The class SiStripDetInfoFileReader now returns the SiStripDetInfo.
This now makes CalibFormats/SiStripObjects independent from algorithmic code.
PR validation:
Code compiles.